<p class="Paragraph">Left (Text As String, n As Integer) <help:key-word value="Left" tag="kw66381_1" xmlns:help="http://openoffice.org/2000/help"/></p>
<p class="Paragraph">Text: Any string expression from which to return the leftmost characters.</p>
<p class="Paragraph">n: Integer expression that specifies the number of characters to return. If <span class="T1">n</span> = 0 a zero-length string is returned.</p>
<p class="Paragraph">The following example converts a date in the format (YYYY.MM.DD) to the format (MM/DD/YYYY).</p>
<p class="P2">Example:</p>
<p class="PropText">Sub ExampleUSDate</p>
<p class="PropText">Dim sInput As String</p>
<p class="PropText">Dim sUS_date As String</p>
<p class="PropText">sInput = InputBox("Please input a date in the international format 'YYYY-MM-DD'")</p>